﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using HRM.Models;

namespace HRM.DAL.DAO
{
    public class Message
    {
        public int MessageID { get; set; }
        public Employee Sender { get; set; }
        public Employee Recever { get; set; }
        public string Subject { get; set; }
        [DataType(DataType.MultilineText)]
        public string MessageBody { get; set; }
        [DataType(DataType.Date)]
        public DateTime Date { get; set; }
    }
}